package com.mo.modular.tv.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.mo.core.node.ZTreeNode;
import com.mo.tv.model.ZlSite;

/**
 * <p>
  * 站点表 Mapper 接口
 * </p>
 *
 * @author zh
 * @since 2018-04-26
 */
public interface ZlSiteMapper extends BaseMapper<ZlSite> {

	List<ZTreeNode> tree();
	void dataIsShareMobile(Long id) ;
	List<ZlSite> findAllZlSite(@Param("name")String name);
	
	//更新状态
	public void updateStatus(@Param("id")Long id,@Param("status")Integer status);
	
	//根据名称查询对应站点
	public ZlSite findZlSiteByName(String name);

}